package org.devgframwork.datasync.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("t_trigger_config")
public class TriggerConfig extends CoConfig {

    @TableId("TRIGGER_CONFIG_ID")
    private Long triggerConfigId;

    @TableField("CONNECTION_NAME")
    private String connectionName;

    @TableField("TABLE_NAME")
    private String tableName;

    @TableField("IS_DELETE")
    private Integer isDelete;

    @TableField("ES_DELETE_BODY")
    private String esDeleteBody;

    @TableField("ES_DELETE_INFO")
    private String esDeleteInfo;

    @TableField(exist = false)
    private String exchange;

    @TableField(exist = false)
    private String normalQueue;

    @TableField(exist = false)
    private String retryQueue;

    @TableField(exist = false)
    private String errorQueue;
}
